Integrand size = 21, antiderivative size = 63 \[ \int \frac {a+b \arctan (c+d x)}{c e+d e x} \, dx=\frac {a \log (c+d x)}{d e}+\frac {i b \operatorname {PolyLog}(2,-i (c+d x))}{2 d e}-\frac {i b \operatorname {PolyLog}(2,i (c+d x))}{2 d e} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {5151, 12, 4940, 2438} \[ \int \frac {a+b \arctan (c+d x)}{c e+d e x} \, dx=\frac {a \log (c+d x)}{d e}+\frac {i b \operatorname {PolyLog}(2,-i (c+d x))}{2 d e}-\frac {i b \operatorname {PolyLog}(2,i (c+d x))}{2 d e} \]
[In]
[Out]
Rule 12
Rule 2438
Rule 4940
Rule 5151
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {a+b \arctan (x)}{e x} \, dx,x,c+d x\right )}{d} \\ & = \frac {\text {Subst}\left (\int \frac {a+b \arctan (x)}{x} \, dx,x,c+d x\right )}{d e} \\ & = \frac {a \log (c+d x)}{d e}+\frac {(i b) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,c+d x\right )}{2 d e}-\frac {(i b) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,c+d x\right )}{2 d e} \\ & = \frac {a \log (c+d x)}{d e}+\frac {i b \operatorname {PolyLog}(2,-i (c+d x))}{2 d e}-\frac {i b \operatorname {PolyLog}(2,i (c+d x))}{2 d e} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 52, normalized size of antiderivative = 0.83 \[ \int \frac {a+b \arctan (c+d x)}{c e+d e x} \, dx=\frac {a \log (c+d x)+\frac {1}{2} i b \operatorname {PolyLog}(2,-i (c+d x))-\frac {1}{2} i b \operatorname {PolyLog}(2,i (c+d x))}{d e} \]
[In]
[Out]
Time = 0.35 (sec) , antiderivative size = 65, normalized size of antiderivative = 1.03
method | result | size |
risch | \(-\frac {i b \operatorname {dilog}\left (-i d x -i c +1\right )}{2 e d}+\frac {a \ln \left (-i d x -i c \right )}{e d}+\frac {i b \operatorname {dilog}\left (i d x +i c +1\right )}{2 e d}\) | \(65\) |
derivativedivides | \(\frac {\frac {a \ln \left (d x +c \right )}{e}+\frac {b \left (\ln \left (d x +c \right ) \arctan \left (d x +c \right )+\frac {i \ln \left (d x +c \right ) \ln \left (1+i \left (d x +c \right )\right )}{2}-\frac {i \ln \left (d x +c \right ) \ln \left (1-i \left (d x +c \right )\right )}{2}+\frac {i \operatorname {dilog}\left (1+i \left (d x +c \right )\right )}{2}-\frac {i \operatorname {dilog}\left (1-i \left (d x +c \right )\right )}{2}\right )}{e}}{d}\) | \(104\) |
default | \(\frac {\frac {a \ln \left (d x +c \right )}{e}+\frac {b \left (\ln \left (d x +c \right ) \arctan \left (d x +c \right )+\frac {i \ln \left (d x +c \right ) \ln \left (1+i \left (d x +c \right )\right )}{2}-\frac {i \ln \left (d x +c \right ) \ln \left (1-i \left (d x +c \right )\right )}{2}+\frac {i \operatorname {dilog}\left (1+i \left (d x +c \right )\right )}{2}-\frac {i \operatorname {dilog}\left (1-i \left (d x +c \right )\right )}{2}\right )}{e}}{d}\) | \(104\) |
parts | \(\frac {a \ln \left (d x +c \right )}{d e}+\frac {b \left (\ln \left (d x +c \right ) \arctan \left (d x +c \right )+\frac {i \ln \left (d x +c \right ) \ln \left (1+i \left (d x +c \right )\right )}{2}-\frac {i \ln \left (d x +c \right ) \ln \left (1-i \left (d x +c \right )\right )}{2}+\frac {i \operatorname {dilog}\left (1+i \left (d x +c \right )\right )}{2}-\frac {i \operatorname {dilog}\left (1-i \left (d x +c \right )\right )}{2}\right )}{e d}\) | \(106\) |
[In]
[Out]
\[ \int \frac {a+b \arctan (c+d x)}{c e+d e x} \, dx=\int { \frac {b \arctan \left (d x + c\right ) + a}{d e x + c e} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \arctan (c+d x)}{c e+d e x} \, dx=\frac {\int \frac {a}{c + d x}\, dx + \int \frac {b \operatorname {atan}{\left (c + d x \right )}}{c + d x}\, dx}{e} \]
[In]
[Out]
\[ \int \frac {a+b \arctan (c+d x)}{c e+d e x} \, dx=\int { \frac {b \arctan \left (d x + c\right ) + a}{d e x + c e} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \arctan (c+d x)}{c e+d e x} \, dx=\int { \frac {b \arctan \left (d x + c\right ) + a}{d e x + c e} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \arctan (c+d x)}{c e+d e x} \, dx=\int \frac {a+b\,\mathrm {atan}\left (c+d\,x\right )}{c\,e+d\,e\,x} \,d x \]
[In]
[Out]